package edu.sctu.practice.class01.zhoudie.assgin02;

/**
 * Created by Administrator on 2015-10-21.
 */
public class Main {
    public static void main(String[] args) {

        Circle circle = new Circle(3);
        Circle circle1 = new Circle(4);
        Circle circle2 = new Circle(4);

        Circle.printCircle(circle);
        Circle.printCircle(circle1);
        Circle.printCircle(circle2);

        System.out.println("一共有"+Circle.numOfObjects+"个圆");

        Rational rational = new Rational(1.2,4);
        Rational rational1 = new Rational(1.2,4);

        Rational.print(rational);
        Rational.print(rational1);
    }
}
